import { Suspense } from 'react'
import Product from '@/components/Product'
import Review from '@/components/Review'

export default function ProductReview() {
    return (
        <div>
            <h1 className='text-2xl font-bold'>Product - Review Page</h1>
            <Suspense
                fallback={<p className='text-sm text-gray-400'>loading for Product...</p>}
            >
                <Product />
            </Suspense>

            <Suspense
                fallback={<p className='text-sm text-gray-400'>loading for Review...</p>}
            >
                <Review />

            </Suspense>
        </div>
    )
}
